package com.huike.clues.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.huike.common.annotation.Excel;
import com.huike.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Contract extends BaseEntity {

    @Excel(name = "合同编号")
    private String contractId;

    @Excel(name = "客户姓名")
    private String name;

    @Excel(name = "客户手机号")
    private String phone;

    @Excel(name = "合同地址")
    private String contractAddress;

    @Excel(name = "购买学科")
    private Integer subject;

    @Excel(name = "购买课程")
    private String  coursesName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;


}
